package com.newviews.tcmip.dao;

import com.newviews.tcmip.pojo.po.EtcmHerbPo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.Cacheable;

/**
 * <p>
 * 中草药库 Mapper 接口
 * </p>
 *
 * @author lxc
 * @since 2024-02-29
 */
@CacheConfig(cacheNames = "EtcmStatistics")
public interface EtcmHerbMapper extends BaseMapper<EtcmHerbPo> {

    @Cacheable(value = "HerbCount")
    int indexHerbCount();

}
